﻿using System;
using OA.DBUtility;

namespace OA.Model
{
	/// <summary>
	/// Recruitment:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    [MappingTable("Recruitment")]
	public partial class RecruitmentInfo
	{
		public RecruitmentInfo()
		{}
		#region Model
		private int _id;
		private int? _departmentid;
	    private string _departmentName;
	
		private int? _postid;
	    private string _postName;
	
		private string _name;
		private string _sex;
		private string _cardid;
		private string _age;
		private string _graduateschool;
		private string _speciality;
		private string _degreename;
		private string _educationname;
		private string _recruitmenttype;
		private string _householdprovince;
		private string _householdcity;
		private string _currentcompany;
		private string _currentpostname;
		private string _recruitmentstatus;
		private string _recruitmentremark;
		private DateTime? _joincompanytime;
		private decimal? _currentsalary;
		private decimal? _expectedsalary;
		private decimal? _salaryinprobationperiod;
		private decimal? _salaryinconfirmperiod;
		private string _otherdescription;
		/// <summary>
		/// 
		/// </summary>
        [DataField("Id")]
        [PrimaryKey(PKBuildType.AutoIncrease)]
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("DepartmentID")]
		public int? DepartmentID
		{
			set{ _departmentid=value;}
			get{return _departmentid;}
		}

        [DataField("DepartmentName")]
        public string DepartmentName
        {
            get { return _departmentName; }
            set { _departmentName = value; }
        }

	    /// <summary>
		/// 
		/// </summary>
        [DataField("PostID")]
		public int? PostID
		{
			set{ _postid=value;}
			get{return _postid;}
		}

        [DataField("PostName")]
        public string PostName
	    {
		    get { return _postName; }
		    set { _postName = value; }
	    }

		/// <summary>
		/// 
		/// </summary>
        [DataField("Name")]
		public string Name
		{
			set{ _name=value;}
			get{return _name;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Sex")]
		public string Sex
		{
			set{ _sex=value;}
			get{return _sex;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("CardID")]
		public string CardID
		{
			set{ _cardid=value;}
			get{return _cardid;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Age")]
		public string Age
		{
			set{ _age=value;}
			get{return _age;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("GraduateSchool")]
		public string GraduateSchool
		{
			set{ _graduateschool=value;}
			get{return _graduateschool;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("Speciality")]
		public string Speciality
		{
			set{ _speciality=value;}
			get{return _speciality;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("DegreeName")]
		public string DegreeName
		{
			set{ _degreename=value;}
			get{return _degreename;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("EducationName")]
		public string EducationName
		{
			set{ _educationname=value;}
			get{return _educationname;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("RecruitmentType")]
		public string RecruitmentType
		{
			set{ _recruitmenttype=value;}
			get{return _recruitmenttype;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HouseholdProvince")]
		public string HouseholdProvince
		{
			set{ _householdprovince=value;}
			get{return _householdprovince;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("HouseholdCity")]
		public string HouseholdCity
		{
			set{ _householdcity=value;}
			get{return _householdcity;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("CurrentCompany")]
		public string CurrentCompany
		{
			set{ _currentcompany=value;}
			get{return _currentcompany;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("CurrentPostName")]
		public string CurrentPostName
		{
			set{ _currentpostname=value;}
			get{return _currentpostname;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("RecruitmentStatus")]
		public string RecruitmentStatus
		{
			set{ _recruitmentstatus=value;}
			get{return _recruitmentstatus;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("RecruitmentRemark")]
		public string RecruitmentRemark
		{
			set{ _recruitmentremark=value;}
			get{return _recruitmentremark;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("JoinCompanyTime")]
		public DateTime? JoinCompanyTime
		{
			set{ _joincompanytime=value;}
			get{return _joincompanytime;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("CurrentSalary")]
		public decimal? CurrentSalary
		{
			set{ _currentsalary=value;}
			get{return _currentsalary;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("ExpectedSalary")]
		public decimal? ExpectedSalary
		{
			set{ _expectedsalary=value;}
			get{return _expectedsalary;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("SalaryInProbationPeriod")]
		public decimal? SalaryInProbationPeriod
		{
			set{ _salaryinprobationperiod=value;}
			get{return _salaryinprobationperiod;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("SalaryInConfirmPeriod")]
		public decimal? SalaryInConfirmPeriod
		{
			set{ _salaryinconfirmperiod=value;}
			get{return _salaryinconfirmperiod;}
		}
		/// <summary>
		/// 
		/// </summary>
        [DataField("OtherDescription")]
		public string OtherDescription
		{
			set{ _otherdescription=value;}
			get{return _otherdescription;}
		}
		#endregion Model

	}
}

